package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: Liu
 * @date: 2022/02/23
 * @time: 11:20
 */
public interface EmployeeService {
    R<Employee> login(Employee employee);

    R<String> add(Employee employee);

    R<Page<Employee>> findByPage(String name, Long page, Long size);

    R<String> updateStatus(Employee employee);

    R<Employee> findById(Long id);

    R<String> updateInfo(Employee employee);
}
